package com.xscha.soyue.common.core.constant.basic;

/**
 * Token的Key通用常量
 *
 * @author Vondser
 */
public class TokenConstants {

	/** 令牌自定义标识 */
	public static final String AUTHENTICATION = "Authorization";

	/** 补充令牌自定义标识 */
	public static final String SUPPLY_AUTHORIZATION = "Supply-Authorization";

	/** 令牌前缀 */
	public static final String PREFIX = "Bearer ";

	/** 回调地址 */
	public static final String REDIRECT_URL = "redirect_url";

	/** 令牌秘钥 */
	public final static String SECRET = "ce6e6cc15d0349b58f9d8c43e5f328ce7f329029434242c6aaaec5a06b930a4a4d73cf1a7e7b48eb80fad6a916ded78d614cc2e63779489d9a2aaaafd674c5515e708ba5869a4dcfa3e66799";

	/**
	 * 用户信息缓存
	 */
	public final static String USER_DETAILS = "user_details";

}
